package com.vpclub.bean;

import java.io.Serializable;

/**
 * @author : leimingchao
 * @version V1.0
 * @Project: jdbc
 * @Package com.vpclub.bean
 * @Description: TODO
 * @date Date : 2021年05月30日 1:22
 */
public class User implements Serializable {
    private String user;
    private String password;
    private Integer balance;

    public User() {
    }

    public User(String user, String password, Integer balance) {
        this.user = user;
        this.password = password;
        this.balance = balance;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "User{" +
                "user='" + user + '\'' +
                ", password='" + password + '\'' +
                ", balance=" + balance +
                '}';
    }
}
